ocaml add element to end of list

45

let append_item lst a = lst @ [a]  // O(n)

Comments

Submit
0 Comments